import GlobalConstant from "../config/global-constant";

export const indexApi = {
    //图书推荐
    queryBookRecommendList: `${GlobalConstant.ctxPath}/public/book/queryBookRecommendList`,
    //期刊推荐
    queryJournalRecommendList: `${GlobalConstant.ctxPath}/public/journal/queryJournalRecommendList`,
    //资讯推荐
    queryArticleRecommendList: `${GlobalConstant.ctxPath}/public/news/queryArticleRecommendList`,
    //活动推荐
    queryActivityRecommendList: `${GlobalConstant.ctxPath}/public/activity/queryActivityRecommendList`,
    //排行
    book: `${GlobalConstant.ctxPath}/public/ranking/book`,
    //首页banner
    selectIndexBanner: `${GlobalConstant.ctxPath}/public/selectIndexBanner`,
    //搜索
    search: `${GlobalConstant.ctxPath}/public/index/search`,
    //热词
    queryHotWord: `${GlobalConstant.ctxPath}/public/index/queryHotWord`,
    //阅读时长排行
    bookReadingRank: `${GlobalConstant.ctxPath}/public/book/bookReadingRank`,

    bookRank: `${GlobalConstant.ctxPath}/public/ranking/book`,

    // 主题色
    config: `${GlobalConstant.ctxPath}/sys/config`,
    queryH5ProOrgExtendByOrgId: `${GlobalConstant.ctxPath}/sys/queryH5ProOrgExtendByOrgId`,
    app: `${GlobalConstant.ctxPath}/sys/app`,

    // 页脚配置
    queryFooterFieldsByOrgId: `${GlobalConstant.ctxPath}/sys/queryFooterFieldsByOrgId`,

};
